.bruce {
  overflow: auto;
  perspective: 1px;
  transform-style: preserve-3d;
}

.bruce div {
  height: 100px;
  line-height: 100px;
  text-align: center;
  font-size: 20px;
  color: "#f66";
}

.parallax-scrolling {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 1000px;
  background: url("https://yangzw.vip/static/codepen/bg.jpg") no-repeat center fixed;
}

.parallax-scrolling li {
  width: 500px;
  text-align: center;
  font-weight: bold;
  font-size: 60px;
}

.parallax-scrolling li:nth-child(1) {
  color: "#f66";
  transform: translateZ(-1px);
}

.parallax-scrolling li:nth-child(2) {
  color: "#09f";
  transform: translateZ(-2px);
}

.parallax-scrolling li:nth-child(3) {
  color: "#3c9";
  transform: translateZ(-3px);
}
